package com.dreem.proxy.staticproxy;

/**
 * @program: DesignParrtern
 * @description: 客户端  静态代理
 * @author: Peng
 * @create: 2021-02-25  14:34
 **/
public class Client {
    public static void main(String[] args){
        TeacherDao teacherDao = new TeacherDao();
        TeacherDaoProxy teacherDaoProxy = new TeacherDaoProxy(teacherDao);
        teacherDaoProxy.teach();
    }
}
